<?PHP
include_once("../classes.php");
@session_start();
$_chat				= new chat();
$_chat->vendedor	= $_GET["vendedor"];

$limpar 	= $_chat->limpar();

if($limpar){
header("Location: ../index.php?vendedor=".$_GET["vendedor"]."");
}else{
header("Location: ../index.php?vendedor=".$_GET["vendedor"]."&erro=2");
}

?> 